package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.mbc.rmt.data.DefinePaymentTypeDataList;
import com.mbc.rmt.entities.DefinePaymentPrint;
import com.mbc.rmt.entities.DefinePaymentType;
import com.mbc.rmt.entities.DefinePaymentTypeRpt;

public interface DefinePaymentTypeDAO {

	public void create(DefinePaymentType entity)throws SQLException;
	public void update(DefinePaymentType entity)throws SQLException;
	public void delete(Long key)throws SQLException;
	public DefinePaymentType find(String receiptNo)throws SQLException;
	public DefinePaymentType findById(Long key)throws SQLException;
	public DefinePaymentTypeDataList findDPTypeList(DefinePaymentType param)throws SQLException;
	void updateStatus(Byte status, long receiptkey) throws SQLException;
	ResultSet prepareDefinePaymentTypeReport(DefinePaymentTypeRpt entity)throws SQLException;
	ResultSet prepareDefinePaymentTypePrint(DefinePaymentPrint entity)throws SQLException;
	
}
